<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading1">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse1">
                    文章管理
                </a>
            </h4>
        </div>
        <div id="collapse1" class="panel-collapse collapse @if(isset($active) && $active == 'post') @else in @endif"  >
            <ul class="list-group">
                <li class="list-group-item"><a href="/administrator/post">文章列表</a></li>
                <li class="list-group-item"><a href="/administrator/post/create">添加文章</a></li>
                <li class="list-group-item"><a href="/administrator/postCid">分类列表</a></li>
                <li class="list-group-item"><a href="/administrator/postCid/create">添加分类</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading2">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse2">
                    菜单管理
                </a>
            </h4>
        </div>
        <div id="collapse2" class="panel-collapse collapse @if(isset($active) && $active == 'menu') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/administrator/menu">菜单列表</a></li>
                <li class="list-group-item"><a href="/administrator/menu/create">添加菜单</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading3">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse3">
                    系统设置
                </a>
            </h4>
        </div>
        <div id="collapse3" class="panel-collapse collapse @if(isset($active) && $active == 'system') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/administrator/config">网站设置</a></li>
                <li class="list-group-item"><a href="/administrator/config/create">添加设置项</a></li>
            </ul>
        </div>
    </div>

</div>

